<template>
 <el-table
      :data="tableData"
      style="width: 100%">
      <el-table-column
        prop="num"
        label="编号"
        width="180">
      </el-table-column>
      <el-table-column
        prop="name"
        label="名称"
        width="200">
      </el-table-column>
      <el-table-column
        prop="type"
        label="类型">
      </el-table-column>
          <el-table-column label="操作">
      <template slot-scope="scope">
        <el-button
          size="mini"
          type = "primary"
           plain = "true"
          @click="handleEdit(scope.$index, scope.row)">文书生成</el-button>

         
         
      </template>
    </el-table-column>
    </el-table>
</template>

<script>
export default {
   data() {
        return {
          tableData: [{
            num: 'N00001',
            name: '广发（审判阶段/执行阶段）',
            type: 'GDB',
            path: '/document_gdb_gdb'
          }
  

   
          ]
        }
      },
          methods: {
      handleEdit(index, row) {
        console.log(index, row);
        console.log(row.path)
        this.$router.push(row.path)
      },

    }

}
</script>

<style>

</style>